﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Entity.Category>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Create
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%using (Html.BeginForm())
      {
    %>
    <%=Html.LabelFor(i=>i.Name)%>：<%=Html.TextBoxFor(i => i.Name)%><%=Html.ValidationMessageFor(i => i.Name)%><br />
    <%=Html.LabelFor(i=>i.ParentID)%>：<%=Html.TextBoxFor(i => i.ParentID)%><%=Html.ValidationMessageFor(i => i.ParentID)%><br />
    <%=Html.LabelFor(i=>i.SortNumber)%>：<%=Html.TextBoxFor(i => i.SortNumber)%><%=Html.ValidationMessageFor(i => i.SortNumber)%><br />
    <input type="submit" value="提交" />
    <%
      } %>
</asp:Content>
